#include "putongyuangong.h"
Employee::Employee(int id, string Name, int dId)
{
    this->m_Id = id;
	this->m_Name = Name;
	this->m_BuMenId = dId;	
}

void Employee::showXinXi()
{
	cout << "职工编号：" << this->m_Id
	     << "\t职工姓名：" << this->m_Name
		 << "\t职工岗位：" << this->getGangWei()
		 << "\t职工职责：完成经理交给的任务" <<endl; 
}

string Employee::getGangWei()
{
	return "员工";//转换类型 
}